<html>
<head><meta charset="utf-8"><title>unstable-book/asm.md has very long lines · project-inline-asm · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/index.html">project-inline-asm</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html">unstable-book/asm.md has very long lines</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210866794"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210866794" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210866794">(Sep 22 2020 at 13:06)</a>:</h4>
<p>Do you want to split it to multiple shorter lines ?<br>
cc <span class="user-mention" data-user-id="143274">@Amanieu</span></p>



<a name="210866923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210866923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210866923">(Sep 22 2020 at 13:07)</a>:</h4>
<p>I don't care much either way.</p>



<a name="210866946"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210866946" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210866946">(Sep 22 2020 at 13:07)</a>:</h4>
<p>I don't mind if you do, but you don't have to.</p>



<a name="210867226"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210867226" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210867226">(Sep 22 2020 at 13:10)</a>:</h4>
<p>just asking you to open an E-easy issue for contributors.<br>
It is kinda easy, using <code>fold</code> unix command and with a bit of reformatting after that.</p>



<a name="210868405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210868405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210868405">(Sep 22 2020 at 13:21)</a>:</h4>
<p>Using a single line per sentence instead of wrapping at a fixed length improves diffs a lot.</p>



<a name="210869064"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210869064" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210869064">(Sep 22 2020 at 13:26)</a>:</h4>
<p>Agreed on that part. But editor and diff on terminal doesn't like long lines.</p>



<a name="210869378"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/unstable-book/asm.md%20has%20very%20long%20lines/near/210869378" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/unstable-book.2Fasm.2Emd.20has.20very.20long.20lines.html#210869378">(Sep 22 2020 at 13:29)</a>:</h4>
<p>Maybe do both? Wrap each sentence to a fixed length, but don't put parts of multiple sentences on the same line.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>